﻿define(function (require, exports, module) {
    var Canvas = require('util/canvas');
    var ImageStorage = require('util/imageStorage');

    exports.renderAsync = eval(Wind.compile('async', function () {
        Canvas.clear();

        var layer = Canvas.createLayer();
        var bgRect = Canvas.createRect({ fill: 'black', width: Config.settings.WIDTH, height: Config.settings.HEIGHT });
        mapLayer.add(layer);
        Canvas.add(layer);
    }));
});